#!/bin/sh

#Puppy does not want more than one instance of Moz running.

ps | grep --extended-regexp 'mozilla\-bin|iceape\-bin' > /dev/null 2>&1
if [ $? -eq 0 ];then #=0 if found.
 xmessage "Please open Addressbook from Window menu of currently running Mozilla/Seamonkey"
else
 #exec /usr/lib/mozilla/mozilla-bin -addressbook $@
 exec mozilla -addressbook $@
fi
